﻿
@model YouWei.Infrastructure.Entity.DrivingLicense

@{
    ViewBag.Title = "驾驶证详情";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<section class="content-header">
    <h1>
        驾驶证详情
        <small></small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i>主页</a></li>
        <li class="active">驾驶证详情</li>
    </ol>
</section>
<section class="content">
    <div class="row">
        <div class="col-md-12">
            <div class="box box-primary">
                <div class="box-header">
                    <table class="table table-striped">
                        <tr>
                            <td>驾驶证号</td>
                            <td>@Model.DrivingLicenseCode</td>

                        </tr>
                        <tr>
                            <td>姓名</td>
                            <td>@Model.Name</td>
                            <td>性别</td>
                            @if (Model.Sex == 1)
                            {
                                <td>男</td>
                            }
                            @if (Model.Sex == 2)
                            {
                                <td>女</td>
                            }
                            @if (Model.Sex == 0)
                            {
                                <td>未知</td>
                            }
                        </tr>
                        <tr>
                            <td>国籍</td>
                            <td>@Model.Nationality</td>
                            <td>住址</td>
                            <td>@Model.Address</td>

                        </tr>
                        <tr>
                            <td>出生日期</td>
                            <td>@Model.BirthDate.ToString("yyyy-MM-dd HH:mm")</td>
                            <td>初次领证日期</td>
                            <td>@Model.FirstIssueDate.ToString("yyyy-MM-dd HH:mm")</td>
                        </tr>
                        <tr>
                            <td>开始有效日期</td>
                            <td>@Model.BeginValidPeroid.ToString("yyyy-MM-dd HH:mm")</td>
                            <td>结束有效日期</td>
                            <td>@Model.EndValidPeroid.ToString("yyyy-MM-dd HH:mm")</td>
                        </tr>
                        <tr>
                            <td>发证机构</td>
                            <td>@Model.Dep</td>
                            <td>照片地址</td>
                            <td>@Model.PicPath</td>
                        </tr>
                        <tr>
                            <td>城市</td>
                            <td>@Model.City</td>
                            <td>区县</td>
                            <td>@Model.Area</td>
                        </tr>
                        <tr>
                            <td>创建时间</td>
                            <td>@Model.CreatedDate.ToString("yyyy-MM-dd HH:mm")</td>
                            <td>更新时间</td>
                            <td>@Model.UpdatedDate.ToString("yyyy-MM-dd HH:mm")</td>
                        </tr>
                        <tr>
                            <td>保险ID</td>
                            <td>@Model.InsureID</td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
</section>
@section scriptsBottom{

}